<template>
  <div>
    <div class="jx">
      <h3>出国惠</h3>

      <img src="../../../../public/homes/j1.png" alt="" />

      <ul>
        <li v-for="(v, i) in arr" :key="i">
          <img :src="v.img" alt="" />
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import list from "@/api/link.js";
export default {
  data() {
    return {
      arr: [
        // {img:"./homes/g1.png"},
        // {img:"./homes/g1.png"},
        // {img:"./homes/g1.png"},
        // {img:"./homes/g1.png"}
      ],
    };
  },
  mounted() {
    list("/list/lista").then((ok) => {
      let data = ok.data.arr;
      this.arr = data;
    });
  },
};
</script>

<style lang="less" scoped>
.jx {
  width: 95%;
  height: 2.6rem;
  margin: auto;
  h3 {
    font-size: 20px;
    line-height: 0.5rem;
  }
  img {
    display: block;
    width: 100%;
    height: 0.8rem;
    border-radius: 0.1rem;
  }
  ul {
    margin-top: 0.1rem;
    width: 100%;
    height: 1.2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: space-between;
    li {
      width: 49%;
      border-right: 0.1rem;
      img {
        width: 100%;
        height: 0.55rem;
      }
    }
  }
}
</style>